﻿using Xyz.Web.Reservation.CustomerService;

namespace Xyz.Web.Reservation.Repositories
{
    public class AuthRepository : BaseRepository
    {
        public static CustomerDTO Login(string userName, string password)
        {
            return CustomerServiceClient.LoginCustomer(userName, password);
        }

        public static string GetCustomerRole(string userName)
        {
            return CustomerServiceClient.GetCustomerRole(userName);
        }
    }
}